package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLeveVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingLevelMapper {

    List<NursingLeveVo> listAll();

    NursingLevel getById(Long id);

    void deleteById(Long id);

    void isEnable(Long id, Integer status);

    Page<NursingLeveVo> selectByPage(String name, Integer status);

    void insert(NursingLevel nursingLevel);

    void updateById(NursingLevel nursingLevel);
}
